package com.tjmc.nsia.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjmc.nsia.core.dao.entity.NsiaExam;
import com.tjmc.nsia.core.dao.entity.NsiaUser;
import com.tjmc.nsia.core.dto.resp.NsiaExamCategoryExtend;
import com.tjmc.nsia.core.dto.resp.NsiaExamQuestion;
import com.tjmc.nsia.core.dto.resp.NsiaExamQuestionAnswer;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @date 2024/07/10
 */
public interface NsiaExamService extends IService<NsiaExam> {

    List<NsiaExamCategoryExtend> getAllCategories();

    List<NsiaExamQuestion> parseExamFile(String filePath);

    double submit(NsiaUser nsiaUser, NsiaExamQuestionAnswer nsiaExamQuestionAnswer);
}
